/*
 * 功能: 配置PC客户端的功能调用函数
 *
 * 要求与用法：
 * 1、以window.$twpc.requestType.operationType或this.$twpc.requestType.operationTyp的形式调用功能
 */

import * as basic from './basic'
import * as system from './system'
import * as writePad from './write-pad'
import * as answerMachine from './answer-machine'
import * as activity from './activity'
import * as annex from './annex'
import * as ppt from './ppt'
import * as screenRecord from './screen-record'
import * as ggb from './ggb'
import * as device from './device'
import * as paint from './paint'
import * as studentWork from './student-work'
import * as studentLive from './studentLive'
import * as studentKeyMark from './studentKeyMark'
import * as studentScreenBroadcast from './studentScreenBroadcast'
import * as studentProjection from './studentProjection'
import * as weblog from './weblog'
import * as book from './book'
import * as linkMicrophone from './link-microphone'

export default {
  client: {
    basic: {
      ...basic
    },

    system: {
      ...system
    },

    writePad: {
      ...writePad
    },

    answerMachine: {
      ...answerMachine
    },

    activity: {
      ...activity
    },

    annex: {
      ...annex
    },

    ppt: {
      ...ppt
    },

    screenRecord: {
      ...screenRecord
    },
    ggb: {
      ...ggb
    },
    device: {
      ...device
    },
    paint: {
      ...paint
    },
    studentWork: {
      ...studentWork
    },
    studentLive: {
      ...studentLive
    },
    studentScreenBroadcast: {
      ...studentScreenBroadcast
    },
    studentProjection: {
      ...studentProjection
    },
    studentKeyMark: {
      ...studentKeyMark
    },
    weblog: {
      ...weblog
    },
    book: {
      ...book
    },
    linkMicrophone: {
      ...linkMicrophone
    }
  },

  responseCode: {
    success: 200,
    notFound: 404,
    failed: 500
  }
}
